package com.qst.financing.mapper;

import com.qst.financing.pojo.Finance;
import com.qst.financing.pojo.Intention;
import com.qst.financing.pojo.Recommender;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FinanceMapper {
    List<Intention> selectIntentionByName(String name);

    int insertIntentionByName(Intention intention);

    int updateIntentionByName(Intention intention);

    int deleteIntentionByName(String name);

    Intention selectIntention(String name);

    List<Recommender> selectWithNoneIntention(String name);

    List<Recommender> selectAllRecommend(String name);
//智能匹配
    List<Recommender> selectRecommendFY();//fen页查询融资推荐人

    //融资管理
    Finance selectByPrimaryKey(Integer financeId);//根据finance_id查询融资情报

    List<Finance> selectByFinance(Finance finance);//bank_id

    int updateByPrimaryKeySelective(Finance record);//根据finance_id修改融资情报


}
